package com.xm.event.order;

import lombok.extern.slf4j.Slf4j;

/**
 * 库存监听器：模拟库存服务
 */
@Slf4j
public class InventoryListener implements OrderListener {
    @Override
    public void onOrderCreated(OrderEvent event) {
        log.info("库存服务：订单[{}]开始扣减库存...", event.getOrderId());
    }
}
